package com.dailyblue.example.project.bookstore.commons.bean;

import lombok.Data;

import java.io.Serializable;

// 和前端图书订单详情对应，和数据库没有对应
@Data
public class FrontOrderItem implements Serializable {
    private Integer id;
    private String userId;  // 有用
    private String name;
    private Double price; // 有用
    private String author;
    private String publisher;
    private String description;
    private Integer number; // 有用
    private String bookId; // 有用
    private String createTime;
    private String updateTime;
}
    /*
    {"id":null,"userId":"1744647697466114049","name":"禅与摩托车维修艺术（珍藏版）",
    "author":"罗伯特·M.波西格","publisher":"重庆出版社","price":54.9,
    "imageName":"//img3m4.ddimg.cn/53/10/25313264-1_w_9.jpg",
    "description":"被书名耽误的好书 斯蒂芬·霍金&奥尔罕·帕慕克&胡歌鼎力推荐",
    "number":2,"createTime":"2022-05-07 10:35:34","updateTime":"2022-05-07 10:35:34",
    "bookId":"1521444078127483231"},
    {"id":null,"userId":"1744647697466114049","name":"思想实验：当哲学遇见科学","author":"乔尔·利维","publisher":"化学工业出版社","price":33.9,"imageName":"//img3m6.ddimg.cn/36/35/26919126-1_w_5.jpg","description":"房琪kiki樊登直播强力推荐！一系列现实中看起来无法完成、颠覆你思想的大脑实验；一部突破你思维极限、改变你思维角度、增加你思维维度、拓展你思维深度和广度的趣味读本。","number":1,"createTime":"2022-05-07 10:35:33","updateTime":"2022-05-07 10:35:33","bookId":"1521444078266062408"}]
     */
